package com.zzy.service;

import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @Author: zhangzhenyu
 * @Date: 2021/1/20
 */

public interface UserService {
    int register(String email, String password, String code);

    Boolean isRegistered( String email);

    String login(HttpServletResponse response, String email, String password);

    String info(  String token);
}
